import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
/**
 * 学校公示
 */
@Entity()
export class Publicity {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ comment: '标题' })
  title: string;

  @Column({ comment: '内容' })
  content: string;

  @Column({ comment: '创建人' })
  created_name: string;

  @Column({ comment: '创建人id' })
  created_name_id: string;

  @Column({ comment: '年月日' })
  created_time: string;
}
